﻿using Abp.Application.Services.Dto;
using SingleUserMall.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Configuration
{
    /// <summary>
    /// 配置管理
    /// </summary>
    [Description("配置管理")]
    public interface IConfigurationManageAppService:IManageService
    {
        /// <summary>
        /// 上传
        /// </summary>
        /// <returns></returns>
        Task<string> UploadAsync([SwaggerFileUpload] string file);
        /// <summary>
        /// 上传视频
        /// </summary>
        /// <returns></returns>
        Task<string> UploadVideoAsync([SwaggerFileUpload] string file);
        /// <summary>
        /// 获取key
        /// </summary>
        /// <returns></returns>
        Task<string> GetKeyAsync();
    }
}
